<?php

class StaticTest{
    public static $value = 10;
}

$a = new StaticTest();
$a::$value = 20;
echo  $a::$value.PHP_EOL;
$b = new StaticTest();
echo $b::$value.PHP_EOL;

echo StaticTest::$value;